<?php
class Application_Form_Commentaire extends Zend_Form
{
public function init()
	{
		$this->setName("Commentaire");
		
		$commentaire = new Zend_Form_Element_Text("CommentaireC");
		$commentaire->setLabel("Commentaire : ");
		
		$codeButton = new Zend_Form_Element_Submit("CommentaireButton");
		$codeButton->setLabel("Ajout Commentaire");
		
		$annulerButton = new Zend_Form_Element_Button("annulerCommentaireButton");
		$annulerButton->setLabel("Annuler")->setAttrib("onClick", "window.location='acceuil'");

		$resetButton = new Zend_Form_Element_Reset("resetButton");
		$resetButton->setLabel("Effacer");
		
		$this->addElements(array($commentaire,$codeButton,$annulerButton,$resetButton));
	}
}
?>